package org.darkforest.dao.mapper;

import java.util.List;
import java.util.Map;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.MailConsult;
import org.darkforest.model.MailConsultSearchBean;
import org.darkforest.model.MailConsultVo;
@DBMapper
public interface MailConsultMapper {
    int deleteByPrimaryKey(Integer mcId);
    
    int deleteByMember(Map<String, Object> p);

    int insert(MailConsult record);

    int insertSelective(MailConsult record);

    MailConsult selectByPrimaryKey(Integer mcId);

    int updateByPrimaryKeySelective(MailConsult record);

    int updateByPrimaryKey(MailConsult record);
    
    List<MailConsultVo> selectByMember(MailConsultSearchBean page);
    
    MailConsultVo selectByMemberAndId(Map<String, Object> p);
}